This document describes the replication files associated with:
Hirofumi Miwa. 2018. "Value Preferences and Structures among Japanese Voters and Political Candidates." Japanese Political Science Review 4.

The following files are contained herein:
replication_code.R (R code for replication)
DID_population_ratios.csv (DID population ratios for the UTAVS data)
online_survey_data.csv (online survey data used in the supplementary analysis)
MVNOS_without_demographics.Rdata (MCMC samples for the MVNOS model without demographic variables)
MVNOS_with_demographics.Rdata (MCMC samples for the MVNOS model with demographic variables)

Instructions:
1. Download "ranked values, with names.txt" and "info.dta" from William G. Jacoby's dataverse (http://dx.doi.org/10.7910/DVN/26564) and put them in your working directory.
2. Download the data of the 2014 UTAVS and UTAES ("2014_2016UTASV20161004.csv" and "2016UTASP20161010.csv") from the project website (http://www.masaki.j.u-tokyo.ac.jp/utas/utasindex.html) and put them in your working directory.
3. Put "DID_population_ratios.csv" and "online_survey_data.csv" in your working directory.
4. Run "replication_code.R".
If you want to skip the estimation process via MCMC to save time, please load .Rdata files.

All data analyses in this article were carried out using R version 3.4.3 and the following R packages: circular version 0.4-93, coda version 0.19-1, ebal version 0.1-6, MNP version 3.1-0, optiscale version 1.1. If you do not have some of the above packages, please install them before running "replication_code.R".

If you have any questions or find any problems with the files, please feel free to contact the author.